import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs' // 中文语言包
const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
app.use(ElementPlus, { locale: zhCn }) // 全局注入中文语言